﻿using System;
using System.Collections.Generic;
using System.Text;
using OpenWings.Entities;

namespace OpenWings.UI.Elements
{
    public class TypeDescriptorClient : CustomTypeDescriptor<Client>
    {
/*
        public TypeDescriptorClient(Client client) : base(client)
        {
            // TODO: Do better...
            GetCustomPropertyDescriptor("arguments").CustomDisplayName = "Arguments";
            GetCustomPropertyDescriptor("arguments").CustomDescription = "Command line arguments used when this viewer is launched - Do modify only if you know what you are doing !";
            GetCustomPropertyDescriptor("arguments").CustomCategory = "Properties";

            GetCustomPropertyDescriptor("downloadurl").CustomDisplayName = "URL Download";
            GetCustomPropertyDescriptor("downloadurl").CustomDescription = "The http:// site where this viewer can be downloaded.";
            GetCustomPropertyDescriptor("downloadurl").CustomCategory = "Properties";

            GetCustomPropertyDescriptor("name").CustomDisplayName = "Name";
            GetCustomPropertyDescriptor("name").CustomDescription = "Display name of the viewer.";
            GetCustomPropertyDescriptor("name").CustomCategory = "Display";

            GetCustomPropertyDescriptor("pathexe").CustomDisplayName = "EXE Path";
            GetCustomPropertyDescriptor("pathexe").CustomDescription = "The full path to the main viewer executable file.";
            GetCustomPropertyDescriptor("pathexe").CustomCategory = "Properties";
        }
*/
    }
}
